package com.kayt.cyberBar.cuser.business.server;


import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.common.ServerResponse;
import com.kayt.cyberBar.cuser.business.entity.po.BOrganizationDepartUser;
import com.kayt.cyberBar.cuser.business.entity.po.BOrganizationStoreDepart;
import com.kayt.cyberBar.cuser.business.entity.po.BUser;
import com.kayt.cyberBar.cuser.business.entity.req.vo.StoreReqVO;
import com.kayt.cyberBar.cuser.business.entity.rsp.vo.UserDetailRspVO;

public interface IStoreServer {
	PageData<BUser> getPageUserByStoreCode(StoreReqVO reqVO);
	
	PageData<BOrganizationDepartUser> getPageDepartByStoreCode(StoreReqVO reqVO);
	
	BOrganizationStoreDepart addDepart(String storeCode,String departCode,String statusCode);
	
	Integer modifyDepart(String id,String departCode,String statusCode);
	
	Integer delete(String id);
	
	PageData<BUser> getBuserByStoreAndDepart(StoreReqVO reqVO);
	
	ServerResponse<PageData<UserDetailRspVO>> assemble_result(PageData<BUser> pageData);
	
	ServerResponse<String> assemble_result_Integer(Integer result);
	ServerResponse<String> assemble_result_String(Object object);
	ServerResponse<PageData<UserDetailRspVO>> assemble_result_user(PageData<BUser> pageData);
}
